import sum from "./js/sum";
import "./css/mystyle1.css"
import "./css/mystyle2.less"
import "./css/mystyle3.scss"
import "./css/iconfont.css"

console.log(sum(1, 2, 3, 4, 5))

document.getElementById("btn").onclick = function () {
    import(/* webpackChunkName: "count" */ "./js/count").then(res=>{
        console.log(res.default(1, 2))
    })
}

let a = [1,2,3,0]
console.log(a.includes(1))

const prem = ()=>{
    return new Promise((resolve,reject)=>{
        setTimeout(()=>{
            resolve("success")
        },2000)
    })
}

prem().then(res=>{
    console.log(res)
})
